package com.chiancloud.shield.server.services.registry;

import com.chiancloud.shield.core.registry.info.ServiceInstanceData;
import org.apache.curator.x.discovery.ProviderStrategy;
import org.apache.curator.x.discovery.ServiceDiscovery;
import org.apache.curator.x.discovery.server.contexts.GenericDiscoveryContext;

/**
 * Created by wanghui on 14-8-20.
 */
public class RegistryDiscoveryContext extends GenericDiscoveryContext<ServiceInstanceData> {

        public RegistryDiscoveryContext(ServiceDiscovery<ServiceInstanceData> serviceDiscovery,
            ProviderStrategy<ServiceInstanceData> providerStrategy,
            int instanceRefreshMs,
            Class<ServiceInstanceData> payloadType) {
            super(serviceDiscovery, providerStrategy, instanceRefreshMs, payloadType);
        }
}
